# Maintainer: Mike Sampson <mike at sambodata dot com>
# Contributor: Jason Chu <jason@archlinux.org>
# Contributor: Juergen Hoetzel <juergen@archlinux.org>

pkgname=uml_utilities
pkgver=20070815
pkgrel=5
pkgdesc="User Mode Linux Utilities"
arch=(i686 x86_64)
depends=('fuse' 'readline' 'perl')
url="http://user-mode-linux.sourceforge.net/"
source=(http://user-mode-linux.sourceforge.net/${pkgname}_${pkgver}.tar.bz2)
license=('GPL2')
md5sums=('b0468ac8b79cef53f36f5f9517907462')

build() {
  cd $srcdir/tools-$pkgver
  sed 's|lib64|lib|g' -i Makefile
  make all
}

package() {
  cd $srcdir/tools-$pkgver
  make DESTDIR=$pkgdir install
  chown root $pkgdir/usr/bin/*
}
